package com.bd.scm.domain.models.workCalendar;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**工作日历详情实体
 * Created with IntelliJ IDEA.
 * User: _Cps
 * Date: 2020.07.08 15:43
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("bd_kq_work_calendar_detail")
public class WorkCalendarDetail extends Model<WorkCalendarDetail> {

    /**
     * ID 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("parent_id")
    private Integer parentId;

    @TableField("work_date")
    private String workDate;

    @TableField("work_year")
    private Integer workYear;

    @TableField("work_month")
    private Integer workMonth;

    @TableField("is_weekend")
    private Integer isWeekend;

    @TableField("is_statutory")
    private Integer isStatutory;

    @TableField("shift_id")
    private Integer shiftId;

    @TableField("date_week_name")
    private String dateWeekName;

}
